//
//  AdviceCell.m
//  Zhiche-Carriage
//
//  Created by LeeBruce on 16/6/14.
//  Copyright © 2016年 LeeBruce. All rights reserved.
//

#import "AdviceCell.h"

@implementation AdviceCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self initSubViews];
    }
    
    return self;
}

-(void)initSubViews
{
    
    self.textField = [[UITextField alloc]initWithFrame:CGRectMake(14, 7 * kHeight, screenWidth - 28, 30 * kHeight)];
    [self.contentView addSubview:self.textField];
    self.textField.placeholder = @"输入备注信息";
    self.textField.font = Font(15);
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
